#pragma once

#include "SDL_Init.h"
#include "Button.h"

#include <list>
#include <string>
using namespace std;

class Jeopardy
{
protected:
	struct questions
	{
		string question;

		string correct;
		string wrong1;
		string wrong2;
		string wrong3;
		char answer;
	};
	double score;
	bool passed;
	double moneywon;
	list <questions> quiz;
	//Button TV;

public:

	//Input function
	//update function
	//draw function
	double getmoneywon() {return moneywon;}
	Jeopardy() {score = 0,passed = true;}
	void playgame(); //update
	void createqanda();
	void addscore();
	void subscore();
	void checkifpass(char, questions);
	bool checkandprintresults();
};
